A chimney stack is a vertical structure that contains one or more flues for the purpose of venting smoke and gases from a fireplace, stove, or boiler to the outside atmosphere. It is typically made of brick, stone, or metal and is an essential component of a building's heating system.